#ifndef __GAME_H__
#define __GAME_H__

#include <Windows.h>

#include "Defines.h"



namespace MegaEngine
{
	class Engine;

	class ENGINE_API Game
	{
	protected:
		Engine * engine;
		bool exit;
	public:
		Game(HINSTANCE hInstance);
		~Game();

		bool Start();
		bool IsExiting();

		virtual bool Init() = 0;
		virtual bool End(bool correctTermination) = 0;
		virtual bool Loop() = 0;
	};
}

#include "Game.inl"

#endif //__GAME_H__